/*
 * ActionBase.hpp
 *
 *  Created on: 09/12/2011
 *      Author: Tales
 */

#ifndef _YEP_UI_ACTIONBASE_HPP_
#define _YEP_UI_ACTIONBASE_HPP_

#include "../common.hpp"

namespace yep
{

/**
 * @brief A default action to buttons
 **/
struct ActionBase
{
	virtual void operator()(Widget& button)
	{
		return;
	}
	virtual ~ActionBase()
	{
	}
};

} // namespace yep

#endif /* _YEP_UI_ACTIONBASE_HPP_ */
